//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Needtobreathe & Judah and The Lion','Walmart AMP','Rogers, AR','Thursday','5/2/2024','7:00 PM','5938802','Needtobreathe---Judah-and-The-Lion-5-2-2024'],['Needtobreathe & Judah and The Lion','First Security Amphitheater','Little Rock, AR','Friday','5/3/2024','7:00 PM','6278077','Needtobreathe---Judah-and-The-Lion-5-3-2024'],['Needtobreathe & Judah and The Lion','Moody Amphitheater','Austin, TX','Saturday','5/4/2024','7:00 PM','5938803','Needtobreathe---Judah-and-The-Lion-5-4-2024'],['Needtobreathe & Judah and The Lion','The Rady Shell at Jacobs Park','San Diego, CA','Tuesday','5/7/2024','7:00 PM','5938804','Needtobreathe---Judah-and-The-Lion-5-7-2024'],['Needtobreathe & Judah and The Lion','Paramount Theatre - Oakland','Oakland, CA','Wednesday','5/8/2024','7:00 PM','5938805','Needtobreathe---Judah-and-The-Lion-5-8-2024'],['Needtobreathe & Judah and The Lion','RV Inn Style Resorts Amphitheater','Ridgefield, WA','Friday','5/10/2024','7:30 PM','5938806','Needtobreathe---Judah-and-The-Lion-5-10-2024'],['Needtobreathe & Judah and The Lion','White River Amphitheatre','Auburn, WA','Saturday','5/11/2024','7:30 PM','5938807','Needtobreathe---Judah-and-The-Lion-5-11-2024'],['Needtobreathe & Judah and The Lion','BECU Live at Northern Quest Resort & Casino','Airway Heights, WA','Sunday','5/12/2024','7:00 PM','5943582','Needtobreathe---Judah-and-The-Lion-5-12-2024'],['Needtobreathe & Judah and The Lion','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Tuesday','5/14/2024','7:00 PM','5943580','Needtobreathe---Judah-and-The-Lion-5-14-2024'],['Needtobreathe & Judah and The Lion','KettleHouse Amphitheater','Bonner, MT','Wednesday','5/15/2024','8:00 PM','5943522','Needtobreathe---Judah-and-The-Lion-5-15-2024']],'"NEEDTOBREATHE"','https://www.ticketnetwork.com');